//
//  YHNetworkManager.h
//  YHBaseProject
//
//  Created by yuhang liu on 2022/11/18.
//  Copyright © 2022 lyh. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking/AFNetworking.h>

NS_ASSUME_NONNULL_BEGIN


@interface YHNetworkManager : NSObject

@property (nonatomic, strong, readonly) AFHTTPSessionManager *sessionManager;

- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
- (id)copy NS_UNAVAILABLE; // 没有遵循协议可以不写
- (id)mutableCopy NS_UNAVAILABLE; // 没有遵循协议可以不写

+ (YHNetworkManager *)sharedInstance;
/// 是否有网
- (BOOL)isReachable;

@property (nonatomic, strong) NSMutableDictionary *logUrlDic;

@end

NS_ASSUME_NONNULL_END
